' SystemWindowUserControl.vb
'
' This file implements a UserControl-derived class 
' that represents the data window plug-in in the
' TLA system window.
'
' Like the System Window Control for a built-in
' data window. The control for the plug-in has
' a button that activates the window and a
' text box to display and change the user name.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Public Class SystemWindowUserControl
    Inherits System.Windows.Forms.UserControl

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'UserControl overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Public WithEvents activateButton As System.Windows.Forms.Button
    Public WithEvents userNameBox As System.Windows.Forms.TextBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.activateButton = New System.Windows.Forms.Button()
        Me.userNameBox = New System.Windows.Forms.TextBox()
        Me.SuspendLayout()
        '
        'activateButton
        '
        Me.activateButton.Location = New System.Drawing.Point(16, 0)
        Me.activateButton.Name = "activateButton"
        Me.activateButton.Size = New System.Drawing.Size(96, 40)
        Me.activateButton.TabIndex = 0
        Me.activateButton.Text = "Show Window"
        '
        'userNameBox
        '
        Me.userNameBox.Location = New System.Drawing.Point(8, 48)
        Me.userNameBox.Name = "userNameBox"
        Me.userNameBox.Size = New System.Drawing.Size(112, 22)
        Me.userNameBox.TabIndex = 1
        Me.userNameBox.Text = "TextBox1"
        '
        'SystemWindowUserControl
        '
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.userNameBox, Me.activateButton})
        Me.Name = "SystemWindowUserControl"
        Me.Size = New System.Drawing.Size(128, 88)
        Me.ResumeLayout(False)

    End Sub

#End Region

End Class
